package com.sakura.order.bean;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties("user")
@Component
@Data
public class User {
    private String name;
    private String age;
    private String sex;

}